function forward(e){
    var url = $(e).attr("url");
    $('#text-title').html($(e).html());
    $('#main-body').html("")
    $.ajax({
        type: "GET",
        url: url,
        dataType: "html",
        success: function(data){
            $('#main-body').html(data)
        }
    });
}


function forwardByUrlAndTitle(url,title){
    $('#text-title').html(title);
    $('#main-body').html("")
    $.ajax({
        type: "GET",
        url: url,
        dataType: "html",
        success: function(data){
            $('#main-body').html(data)
        }
    });
}